﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Ozner.Common
{
    public class BaseResult<T>
    {
        /// <summary>
        /// 发送请求结果
        /// </summary>
        public Code Code { get; set; }
        /// <summary>
        /// 对于Code的说明
        /// </summary>
        public string Message { get; set; }
        /// <summary>
        /// 结果信息
        /// </summary>
        public T Object { get; set; }
        /// <summary>
        /// 附属信息
        /// </summary>
        public object OtherInfo { get; set; }
        /// <summary>
        /// 返回的Cookie
        /// </summary>
        public string ResponseCookies { get; set; }
    }
    public enum Code
    {
        OK,LOGOUT,NULL
    }
}
